package com.suse.service.admin.edu.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "TreeTableSubjectVo",description = "树形表格课程分类视图对象")
public class TreeTableSubjectVo {

    @ApiModelProperty(value = "课程分类ID")
    private String id;

    @ApiModelProperty(value = "课程分类名称")
    private String title;

    @ApiModelProperty(value = "课程分类排序字段")
    private Integer sort;

    @ApiModelProperty(value = "课程分类创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "课程分类更新时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "子课程分类")
    private List<TreeTableSubjectVo> children;

}
